package com.baor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("t_menu")
public class MenuVo {
    /** 菜单 */
    @TableId(type = IdType.AUTO)
    private Integer menuId;

    /** 菜单名称 */

    private String menuName;

    /** 上级 */

    private String menuSuperior;

    @TableField(exist = false)
    private String menuSuperiorName;

    /** 菜单类型(目录\按钮) */

    private String menuType;

    private String menuImage;

    private Integer menuStatus;

    /** 菜单路由 */

    private String menuPath;

    /** 菜单所属套餐(sass) */

    @TableField(exist = false)
    private List<MenuVo> childs;


}
